create empty csv file in python

37

create empty csv file in python -

import pandas as pd
df = pd.DataFrame(list())
df.to_csv('empty_csv.csv')

Comments

Submit
0 Comments